import { createSlice } from "@reduxjs/toolkit";


const Appstore = createSlice({
    name: "Appstore",
    initialState: {
        count: 1000
    },
    reducers: {
        testcount: (state, { payload }) => {
            state.count = payload
        }
    }
})


export const { testcount } = Appstore.actions



export default Appstore.reducer